package com.strange.mdl.module.mdl.service.debatehallcomment;

import java.util.*;
import jakarta.validation.*;
import com.strange.mdl.module.mdl.controller.admin.debatehallcomment.vo.*;
import com.strange.mdl.module.mdl.dal.dataobject.debatehallcomment.DebatehallCommentDO;
import com.strange.mdl.framework.common.pojo.PageResult;
import com.strange.mdl.framework.common.pojo.PageParam;

/**
 * 辨经殿话题评论 Service 接口
 *
 * @author 密谛灵总控
 */
public interface DebatehallCommentService {

    /**
     * 创建辨经殿话题评论
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createDebatehallComment(@Valid DebatehallCommentSaveReqVO createReqVO);

    /**
     * 更新辨经殿话题评论
     *
     * @param updateReqVO 更新信息
     */
    void updateDebatehallComment(@Valid DebatehallCommentSaveReqVO updateReqVO);

    /**
     * 删除辨经殿话题评论
     *
     * @param id 编号
     */
    void deleteDebatehallComment(Long id);

    /**
    * 批量删除辨经殿话题评论
    *
    * @param ids 编号
    */
    void deleteDebatehallCommentListByIds(List<Long> ids);

    /**
     * 获得辨经殿话题评论
     *
     * @param id 编号
     * @return 辨经殿话题评论
     */
    DebatehallCommentDO getDebatehallComment(Long id);

    /**
     * 获得辨经殿话题评论分页
     *
     * @param pageReqVO 分页查询
     * @return 辨经殿话题评论分页
     */
    PageResult<DebatehallCommentDO> getDebatehallCommentPage(DebatehallCommentPageReqVO pageReqVO);


    List<DebatehallCommentDO> commentByDetail(Long debateId, Long userId);

    DebatehallCommentDO insertComment(DebatehallCommentDO comment);

}